package dao;

import pojo.Goods;

import java.util.List;

public interface GoodsDao {
    int goodsAdd(String gname, String gprice, String gnumber);

    List<Goods> findByPage(Integer currentPage, Integer pageSize);
    Number  findTotalCount();

    Boolean deleteGoods(String gid);

    List<Goods> goodsShow();

    int delete(int gid);
}
